<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (Mac OS): Source/CPTNumericData.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (Mac OS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_numeric_data_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Source/CPTNumericData.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#import &quot;<a class="code" href="_c_p_t_numeric_data_type_8h.html">CPTNumericDataType.h</a>&quot;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span>
<a name="l00003"></a>00003 
<a name="l00004"></a><a class="code" href="interface_c_p_t_numeric_data.html">00004</a> <span class="keyword">@interface </span><a class="code" href="interface_c_p_t_numeric_data.html" title="An annotated NSData type.">CPTNumericData</a> : <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html">NSObject</a>&lt;<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSCopying_Protocol/Reference/Reference.html">NSCopying</a>, <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSMutableCopying_Protocol/Reference/Reference.html">NSMutableCopying</a>, <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html">NSCoding</a>&gt; {
<a name="l00005"></a>00005     <span class="keyword">@protected</span>
<a name="l00006"></a><a class="code" href="interface_c_p_t_numeric_data.html#a8ab6b74dc81c8edade2f2b817decdb79">00006</a>     <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/Reference/Reference.html">NSData</a> *<a class="code" href="interface_c_p_t_numeric_data.html#a8ab6b74dc81c8edade2f2b817decdb79" title="The data buffer.">data</a>;
<a name="l00007"></a><a class="code" href="interface_c_p_t_numeric_data.html#ace5f467dbb883c31e8a27f163cea1f8b">00007</a>     <a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a> <a class="code" href="interface_c_p_t_numeric_data.html#ace5f467dbb883c31e8a27f163cea1f8b" title="The type of data stored in the data buffer.">dataType</a>;
<a name="l00008"></a><a class="code" href="interface_c_p_t_numeric_data.html#a229be1e11221032087ca4544b67a869d">00008</a>     <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *<a class="code" href="interface_c_p_t_numeric_data.html#a229be1e11221032087ca4544b67a869d" title="The shape of the data buffer array.">shape</a>; <span class="comment">// array of dimension shapes (NSNumber&lt;unsigned&gt;)</span>
<a name="l00009"></a>00009 }
<a name="l00010"></a>00010 
<a name="l00013"></a>00013 <span class="keyword">@property</span> (copy, readonly) <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/Reference/Reference.html">NSData</a> *data;
<a name="l00014"></a><a class="code" href="interface_c_p_t_numeric_data.html#ace066f223a50d1f66d4e6ce58853016f">00014</a> <span class="keyword">@property</span> (readonly) <span class="keyword">const</span> <span class="keywordtype">void</span> *bytes;
<a name="l00015"></a><a class="code" href="interface_c_p_t_numeric_data.html#a93ab918cc9dfcecd51300e442bbbdc21">00015</a> <span class="keyword">@property</span> (readonly) <a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a> length;
<a name="l00017"></a>00017 
<a name="l00020"></a>00020 <span class="keyword">@property</span> (assign, readonly) <a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a> dataType;
<a name="l00021"></a><a class="code" href="interface_c_p_t_numeric_data.html#ae307c9981911f62b846442e835a06d8a">00021</a> <span class="keyword">@property</span> (readonly) <a class="code" href="_c_p_t_numeric_data_type_8h.html#ab9eb8548b99ca6ad5e1b4646f51f6746" title="Enumeration of data formats for numeric data.">CPTDataTypeFormat</a> dataTypeFormat;
<a name="l00022"></a><a class="code" href="interface_c_p_t_numeric_data.html#a61fdc670ca0fac32bb107a2a91bef8dc">00022</a> <span class="keyword">@property</span> (readonly) <span class="keywordtype">size_t</span> sampleBytes;
<a name="l00023"></a><a class="code" href="interface_c_p_t_numeric_data.html#aa6ab52a1eb94fa433f1523dd01c19bba">00023</a> <span class="keyword">@property</span> (readonly) <a class="codeRef" href="http://developer.apple.com/mac/library/documentation/corefoundation/Reference/CFByteOrderUtils/Reference/reference.html">CFByteOrder</a> byteOrder;
<a name="l00025"></a>00025 
<a name="l00028"></a>00028 <span class="keyword">@property</span> (copy, readonly) <a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *shape;
<a name="l00029"></a><a class="code" href="interface_c_p_t_numeric_data.html#a030eaf27948f5b0367cefc771a28634b">00029</a> <span class="keyword">@property</span> (readonly) <a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a> numberOfDimensions;
<a name="l00030"></a><a class="code" href="interface_c_p_t_numeric_data.html#aa2d6582c567580a8ca08f41511d07cbb">00030</a> <span class="keyword">@property</span> (readonly) <a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a> numberOfSamples;
<a name="l00032"></a>00032 
<a name="l00035"></a>00035 +(<a class="code" href="interface_c_p_t_numeric_data.html" title="An annotated NSData type.">CPTNumericData</a> *)numericDataWithData:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/Reference/Reference.html">NSData</a> *)newData dataType:(<a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a>)newDataType shape:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)shapeArray;
<a name="l00036"></a>00036 +(<a class="code" href="interface_c_p_t_numeric_data.html" title="An annotated NSData type.">CPTNumericData</a> *)numericDataWithData:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/Reference/Reference.html">NSData</a> *)newData dataTypeString:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *)newDataTypeString shape:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)shapeArray;
<a name="l00037"></a>00037 +(<a class="code" href="interface_c_p_t_numeric_data.html" title="An annotated NSData type.">CPTNumericData</a> *)numericDataWithArray:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)newData dataType:(<a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a>)newDataType shape:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)shapeArray;
<a name="l00038"></a>00038 +(<a class="code" href="interface_c_p_t_numeric_data.html" title="An annotated NSData type.">CPTNumericData</a> *)numericDataWithArray:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)newData dataTypeString:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *)newDataTypeString shape:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)shapeArray;
<a name="l00040"></a>00040 
<a name="l00043"></a>00043 -(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)initWithData:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/Reference/Reference.html">NSData</a> *)newData dataType:(<a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a>)newDataType shape:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)shapeArray;
<a name="l00044"></a>00044 -(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)initWithData:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/Reference/Reference.html">NSData</a> *)newData dataTypeString:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *)newDataTypeString shape:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)shapeArray;
<a name="l00045"></a>00045 -(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)initWithArray:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)newData dataType:(<a class="code" href="struct___c_p_t_numeric_data_type.html" title="Struct that describes the encoding of numeric data samples.">CPTNumericDataType</a>)newDataType shape:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)shapeArray;
<a name="l00046"></a>00046 -(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)initWithArray:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)newData dataTypeString:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *)newDataTypeString shape:(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)shapeArray;
<a name="l00048"></a>00048 
<a name="l00051"></a>00051 -(<span class="keywordtype">void</span> *)samplePointer:(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)sample;
<a name="l00052"></a>00052 -(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/Reference/Reference.html">NSNumber</a> *)sampleValue:(<a class="codeRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)sample;
<a name="l00053"></a>00053 -(<a class="codeRef" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html">NSArray</a> *)sampleArray;
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="keyword">@end</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>CPTNumericData.h</b>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
